﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XLZF.MicroServices.Models;

namespace XLZF.MicroServices.IRepository;

public interface IClothingPicDictRepository
{
    /// <summary>
    /// 添加
    /// </summary>
    /// <param name="ClothingPicDict"></param>
    /// <returns></returns>
     Task<int> AddClothingPicDict(ClothingPicDict ClothingPicDict);

    /// <summary>
    /// 删除
    /// </summary>
    /// <param name="ClothingPicDict"></param>
    /// <returns></returns>
    int DelClothingPicDict(ClothingPicDict ClothingPicDict);

    /// <summary>
    /// 改
    /// </summary>
    /// <param name="ClothingPicDict"></param>
    /// <returns></returns>
    int EditClothingPicDict(ClothingPicDict ClothingPicDict);

    /// <summary>
    /// 查
    /// </summary>
    /// <returns></returns>
    List<ClothingPicDict> GetClothingPicDict();

    /// <summary>
    /// 查
    /// </summary>
    /// <param name="BrandID"></param>
    /// <returns></returns>
    ClothingPicDict GetClothingPicDictSing(string BrandID);

    /// <summary>
    /// 条件查询
    /// </summary>
    /// <param name="name">姓名</param>
    /// <param name="isAsc">是否正序</param>
    /// <param name="pageIndex">页码</param>
    /// <param name="pageSize">每页大小</param>
    /// <returns></returns>
    Page<ClothingPicDict> GetClothingPageData(string name, bool isAsc, int pageIndex, int pageSize);
}
